import React, { Component } from 'react';
import './style.css'
class Content extends Component {
  constructor(props) {
    super(props);
    this.state = {  };
  }
  render() {
    return (
      <div style={styles.container} className="g-content-container">
        <div style={styles.content}>
          {this.props.children}
        </div>
      </div>
    );
  }
}
const styles = {
  container: {
    flex: 1,
    padding: '0 30px',
    marginBottom:'0px',
    maxHeight:'calc(100vh - 150px)',
    overflowY:'auto'
  },
  content: {
    flex: 1,
    backgroundColor: '#fff',
    padding: '10px 0 '
  }
}

export default Content;